package com.fcat.common.user.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "dict")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Dict {
    @Id
    private Integer id;

    private String name;

    private String value;

    /**
     * 排序字段，相当于sort
     */
    private Integer rank;

    /**
     * 详细描述
     */
    private String desc;

    @Column(name = "type_code")
    private String typeCode;


}